Package-level declarations

Types

Link copied to clipboard
class Encoding

The encoding used by this source. Mapbox Terrain RGB is used by default

Link copied to clipboard

A GeoJSON data source.

Link copied to clipboard

An image data source.

Link copied to clipboard
Link copied to clipboard

A RGB-encoded raster DEM source

Link copied to clipboard

A raster tile source.

Link copied to clipboard
class Scheme

Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.

Link copied to clipboard

A vector tile source.

Functions

Link copied to clipboard
fun geoJsonSource(id: String): GeoJsonSource

DSL function for GeoJsonSource accepting empty data source. Immediately returns GeoJsonSource with no data set.

fun geoJsonSource(id: String, block: GeoJsonSource.Builder.() -> Unit): GeoJsonSource

DSL function for GeoJsonSource.

Link copied to clipboard
fun imageSource(id: String, block: ImageSource.Builder.() -> Unit): ImageSource

DSL function for ImageSource.

Link copied to clipboard
Link copied to clipboard
fun rasterDemSource(id: String, block: RasterDemSource.Builder.() -> Unit): RasterDemSource

DSL function for RasterDemSource.

Link copied to clipboard
fun rasterSource(id: String, block: RasterSource.Builder.() -> Unit): RasterSource

DSL function for RasterSource.

Link copied to clipboard
fun vectorSource(id: String, block: VectorSource.Builder.() -> Unit): VectorSource

DSL function for VectorSource.